<?php
header("Content-Type:text/html;charset=utf-8"); 
$str='<a href="test.html">测试页面</a>';
echo $str;
echo "<br>";
echo htmlentities($str);
echo "<br>";
echo htmlspecialchars($str);
?>
